package com.example.apidemo.entity;

public class Item {
    String imgUrl = ""; //图片路径
    String context = ""; //内容
    Integer isHasPic = 0;//是否有图片
    Integer tag = 0;//是否有图片

    public Integer getTag() {
        return tag;
    }

    public void setTag(Integer tag) {
        this.tag = tag;
    }

    public Item() {
    }

    public Item(String imgUrl, String context, Integer isHasPic, Integer tag) {
        this.imgUrl = imgUrl;
        this.context = context;
        this.isHasPic = isHasPic;
        this.tag = tag;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public Integer getIsHasPic() {
        return isHasPic;
    }

    public void setIsHasPic(Integer isHasPic) {
        this.isHasPic = isHasPic;
    }
}
